home *** CD-ROM | disk | FTP | other *** search
- '----------------------------------------------------------------------
- 'DBEngine Custom Control Constants for Visual Basic 3.0
- 'Copyright (C) - 1993 by Douglas A. Bebber
- 'June 15, 1993
- '
- 'If you are developing with Microsoft Visual Basic 3.0 it
- 'is recommended that you use these Global Constants.
- '
- '
- '----------------------------------------------------------------------
-
-
- Global Const DB_None = 0
- Global Const DB_AddPassword = 1
- Global Const DB_AddRecords = 2
- Global Const DB_AppendRecord = 3
- Global Const DB_ClearRecord = 4
- Global Const DB_CloseTable = 5
- Global Const DB_CopyTable = 6
- Global Const DB_CreateIndex = 7
- Global Const DB_CreateTable = 8
- Global Const DB_DecryptTable = 9
- Global Const DB_DeleteIndex = 10
- Global Const DB_DeleteRecord = 11
- Global Const DB_DeleteTable = 12
- Global Const DB_EncryptTable = 13
- Global Const DB_FindTable = 14
- Global Const DB_FirstRecord = 15
- Global Const DB_FlushBuffers = 16
- Global Const DB_GetField = 17
- Global Const DB_GetFieldName = 18
- Global Const DB_GetFieldNumber = 19
- Global Const DB_GetFieldType = 20
- Global Const DB_GetRecord = 21
- Global Const DB_GetRecordNumber = 22
- Global Const DB_GotoLock = 23
- Global Const DB_GotoRecord = 24
- Global Const DB_InsertRecord = 25
- Global Const DB_IsFieldBlank = 26
- Global Const DB_IsRecordLocked = 27
- Global Const DB_IsTableProtected = 28
- Global Const DB_LastRecord = 29
- Global Const DB_LockRecord = 30
- Global Const DB_LockTable = 31
- Global Const DB_MapKey = 32
- Global Const DB_NextRecord = 33
- Global Const DB_NFields = 34
- Global Const DB_NKeyFields = 35
- Global Const DB_NRecords = 36
- Global Const DB_OpenTable = 37
- Global Const DB_PreviousRecord = 38
- Global Const DB_PutBlank = 39
- Global Const DB_PutField = 40
- Global Const DB_QueryKey = 41
- Global Const DB_RefreshTable = 42
- Global Const DB_RemovePassword = 43
- Global Const DB_RemoveRecords = 44
- Global Const DB_RenameTable = 45
- Global Const DB_SearchField = 46
- Global Const DB_SearchKey = 47
- Global Const DB_TableChanged = 48
- Global Const DB_UnlockRecord = 49
- Global Const DB_UnlockTable = 50
- Global Const DB_UpdateRecord = 51
- Global Const DB_UpgradeTable = 52
-
- 'DBEngine Search Constants
- Global Const SearchFirst = 0
- Global Const SearchNext = 1
- Global Const ClosestRecord = 2
-
- 'DBEngine Table Lock Constants
- Global Const FullLock = 1
- Global Const WriteLock = 2
- Global Const PreventWriteLock = 3
- Global Const PreventFullLock = 1
-
- 'DBEngine index types
- Global Const Primary = 0
- Global Const NonMaintainedSecondary = 1
- Global Const MaintainedSecondary = 2
-
- 'DBEngine IndexCase Constants
- Global Const CaseSensitive = 0
- Global Const CaseInsensitive = 1
-
- 'DBEngine Table Type Constants
- Global Const Paradox35 = 0
- Global Const Paradox40 = 1
-
- '=======================================================
- 'DBT Grid Action Constants
- 'Copyright (C) - 1994, by Douglas A. Bebber
-
- Global Const AbortEdit = 1
- Global Const BeginEdit = 2
- Global Const EndEdit = 3
- Global Const DeleteColumn = 4
- Global Const DeleteRow = 5
- Global Const GetFirstSelectedColumn = 6
- Global Const GetFirstSelectedRow = 7
- Global Const GetNextSelectedColumn = 8
- Global Const GetNextSelectedRow = 9
- Global Const InsertColumn = 10
- Global Const InsertRow = 11
- Global Const MoveColumn = 12
- Global Const MoveRow = 13
- Global Const ResetCellColor = 14
- Global Const ResetColumnColor = 15
- Global Const ResetRowColor = 16
- Global Const SetCellColor = 17
- Global Const SetColumnColor = 18
- Global Const SetRowColor = 19
-
-
- 'DBT Grid Reaction Codes:
-
- Global Const Success = 0 'No error.
- 'Following are error codes
- Global Const InvalidOperation = 1
- Global Const InvalidAction = 2
- Global Const InvalidCell = 3
- Global Const InvalidColumnNumber = 4
- Global Const InvalidRowNumber = 5
- Global Const InvalidNumberOfColumns = 6
- Global Const InvalidNumberOfRows = 7
- Global Const InvalidColumnWidth = 8
-
-
-
- 'Common Dialog Control
- 'Action Property
- Global Const DLG_FILE_OPEN = 1
- Global Const DLG_FILE_SAVE = 2
- Global Const DLG_COLOR = 3
- Global Const DLG_FONT = 4
- Global Const DLG_PRINT = 5
- Global Const DLG_HELP = 6
-
- 'File Open/Save Dialog Flags
- Global Const OFN_READONLY = &H1&
- Global Const OFN_OVERWRITEPROMPT = &H2&
- Global Const OFN_HIDEREADONLY = &H4&
- Global Const OFN_NOCHANGEDIR = &H8&
- Global Const OFN_SHOWHELP = &H10&
- Global Const OFN_NOVALIDATE = &H100&
- Global Const OFN_ALLOWMULTISELECT = &H200&
- Global Const OFN_EXTENSIONDIFFERENT = &H400&
- Global Const OFN_PATHMUSTEXIST = &H800&
- Global Const OFN_FILEMUSTEXIST = &H1000&
- Global Const OFN_CREATEPROMPT = &H2000&
- Global Const OFN_SHAREAWARE = &H4000&
- Global Const OFN_NOREADONLYRETURN = &H8000&
-
-
-
- Global Const CF_EFFECTS = &H100&
- Global Const CF_SCREENFONTS = &H1&
-
- 'Windows API Cursor Functions & Constants.
- Global Const IDC_WAIT = 32514&
-
- Declare Function LoadCursor Lib "User" (ByVal hInstance As Integer, ByVal lpCursorName As Any) As Integer
- Declare Function SetCursor Lib "User" (ByVal hCursor As Integer) As Integer
-
-